package com.fortune.enums;
/**
 * 
 * @author ran
 *
 */
public enum MRoleEnum {
	SUCCESS(true,"查询成功"),
	FAILED(false,"查询失败"),
	ADD_SUCCESS(true,"新增岗位成功"),
	EDIT_SUCCESS(true,"编辑岗位成功"),
	DELETE_SUCCESS(true,"删除岗位成功"),
	ROLE_NAME_EXSIST(false,"已经存在的岗位名称"),
	EDIT_ROLE_NOT_EXSIST(false,"要编辑的岗位不存在"),
	DELETE_ROLE_NOT_EXSIST(false,"要编辑的岗位不存在"),
	DELETE_ROLE_FAILED(false,"删除岗位失败");
	private boolean status;
    private String msg;
    MRoleEnum(boolean status,String msg){
        this.status = status;
        this.msg = msg;
    }
    public boolean isStatus() {
        return status;
    }
    public void setStatus(boolean status) {
        this.status = status;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
